package com.example.day16;

import java.util.Collection;
import java.util.Map;

/**
 * @author Lenovo
 */
public class MapDemo03 {
    public static void main(String[] args) {
        Map<String, String> map = new HashMap<String, String>();
        map.put("张无忌", "赵敏");
        map.put("郭靖", "黄蓉");
        map.put("杨过", "小龙女");
        Collection<String> values = map.values();
        for(String value : values) {
            System.out.println(value);

    }
}
